package com.prtek.reminder.model;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import com.prtek.reminder.bean.DaoSession;
import com.prtek.reminder.bean.Notes;
import com.prtek.reminder.bean.NotesJoinUser;
import java.util.List;

/**
 * Created by jarly on 2018/10/23.
 */

public interface ReminderDao {
  SQLiteDatabase getDatabase(Context context);

  void initialize(Context context);

  void deleteNotes(Notes notes);

  void insertNotes(Notes notes);

  List<Notes> getNotesList();

  List<Notes> getExpiredNotesList(long time);

  Notes getNotesById(long id);

  DaoSession getDaoSession();

  void addNotesJoinUser(NotesJoinUser joinUser);
}
